import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// import.meta.env.BASE_URLimport.meta.env['BASE_URL']
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  server: {
    proxy: {
      '/User': {
        target: 'https://apis.netstart.cn/xpc/',
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/User/, ''),
      },
    },
  }
})

